﻿using HAVNet.Core;


namespace HAVNet.Intros.AST
{
    public class ASTExprPrimTypeof : ASTExprPrim
    {
        public ASTType type { get; set; }

        public ASTExprPrimTypeof ()
        { }

        public ASTExprPrimTypeof (ASTType type)
        {
            this.type = type;
        }

        public override string ToString ()
        {
            return "typeof (" + type + ")" + Lazy.toStringNN(_tails, "");
        }
    }
}
